﻿/* ---------------------------------------------------------
	* Filename:				default-upgradefixes.css
	* Description: 			Styles that clean up old default skin styles etc.
------------------------------------------------------------*/

    /* dark-knight skin fix in 7.0 */
    div.SearchContainer {
        position: relative;
        white-space: nowrap;
    }
    div.SearchBorder {
        float: left;
        position: relative;
        width: 200px; height: 20px;
        margin-top: 2px;
        background-color: White;
        border: 1px solid #E0E0E0;
               
        white-space: nowrap;
    }
    input.SearchTextBox {
        float: left;
        height: 18px;
        width: 169px;
        z-index: 10;
        border: 0 none;
    }
    div.SearchContainer a {
        display: inline-block;
        position: relative;
        padding: 0 5px;
    }
    div.SearchIcon {
        float: left;
        height: 20px;  width: 31px;
        z-index: 11;
        background: none no-repeat scroll 2px 2px transparent;
        cursor: pointer;
        text-align: right;
    }
    div.SearchIcon img {
        margin-top: 3px;
    }
    #SearchChoices {
        clear: both;
        display: none;
        position: absolute;
        z-index: 2000;
        left: 0; top: 21px;
        width: 160px;
        margin: 0; padding: 0;
        
        background-color: #EEEEEE;
        border: 1px solid #777777;
        
        cursor: pointer;
        text-align: left;
    }
    #SearchChoices li {
        display: block;
        height: 20px;
        margin: 2px;
        padding: 2px 2px 2px 25px;
        
        background: none no-repeat scroll 5px center #EEEEEE;
        border: 1px solid #EEEEEE;
        cursor: pointer;
        
        list-style: none outside none;
        text-align: left;
    }
    #SearchChoices li.searchHilite {
        background-color: #DDDDFF;
        border: 1px solid #AAAAFF;
    }
    #SearchChoices li.searchDefault {
        background-color: #EEEEEE;
        border: 1px solid #EEEEEE;
    }
    /*
    #dnn_dnnSEARCH_txtSearch,
    #dnn_dnnSearch_txtSearch,
    #dnn_dnnSEARCH_txtSearchNew,
    #dnn_dnnSearch_txtSearchNew {
        margin: 0;
        padding: inherit;
        font-size: inherit;
        border: inherit;
        border-radius: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        box-shadow: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        border: 0 none;
    }
    */
    /* For Upgrade from DNN6 DarkKnight --------*/
    #DNN6 { z-index: 0 !important; }
    #DNN6 > #Header .SearchContainer .SearchTextBox {
        width: 130px !important;
        padding: 3px 0 0 0;
        border: none;
        box-shadow: none;
    }

    /* Compatible with some old forge modules---*/
    div.ModDNNAnnouncementsC table.ucLinkTypeRadioButtons label {
        display: inline !important;
    }
    div.ModDNNAnnouncementsC table.ucLinkTypeRadioButtons span.dnnRadiobutton {
        display: inline !important;
    }
    div.ModDNNAnnouncementsC .urlControl label, div.ModDNNLinksC .urlControl label { display: inline !important; }
    div.ModDNNFAQsC .Normal { width: auto !important; }
    div.ModDNNFeedbackC .dnnFormItem > label {
        display: inline-block;
        width: 33%;
        text-align: right;
    }
    div.ModDNNUserDefinedTableC div.RadEditor{ height: auto !important; }
    div.ModDNNUserDefinedTableC ul.dnnActions{ display: block; }
    div.ModDNNIFrameC .urlControl span.dnnRadiobutton { display: inline !important; }
    div.ModDNNIFrameC table.Normal td .dnnLabel{ width: 100px; }
    div.ModDNNIFrameC table.Normal td span.dnnRadiobutton { margin: 5px 0 0 30px; }
    div.ModDNNLinksC .urlControl span.dnnRadiobutton { display: inline !important; }
